﻿using MediatR;
using MyRabbit.Application.ErrorCode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyRabbit.Application.Command
{
    public class ProductUpdateCommand:IRequest<APIResult<Object>>
    {
        public int ProductId { get; set; }
        public string ProductCode { get; set; }
        public string ProductName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string LicenseNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Enterprise { get; set; }
        /// <summary>
        /// 养殖Id
        /// </summary>
        public int BreedId { get; set; }
        /// <summary>
        /// 屠宰Id
        /// </summary>
        public int SlaughteId { get; set; }
        /// <summary>
        /// 深加工Id
        /// </summary>
        public int DeepId { get; set; }
        public string ShowUrl { get; set; }
        ///<summary>
        ///创建人
        ///</summary>
        public string CreatedPerson { get; set; }
        ///<summary>
        ///创建时间
        ///</summary>
        public DateTime? CreatedTime { get; set; }
        ///<summary>
        ///删除人
        ///</summary>
        public string DeletedPerson { get; set; }
        ///<summary>
        ///删除时间
        ///</summary>
        public DateTime? DeletedTime { get; set; }
        ///<summary>
        ///修改人
        ///</summary>
        public string UpdatedPerson { get; set; }
        ///<summary>
        ///修改时间
        ///</summary>
        public DateTime? UpdatedTime { get; set; }
        ///<summary>
        ///删除标识
        ///</summary>
        public bool IsDeleted { get; set; }
    }
}
